package domain;

public class Page {
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodid() {
        return goodid;
    }

    public void setGoodid(String goodid) {
        this.goodid = goodid;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public int getComments() {
        return comments;
    }

    public void setComments(int comments) {
        this.comments = comments;
    }

    public Double getGoodRate() {
        return goodRate;
    }

    public void setGoodRate(double goodRate) {
        this.goodRate = goodRate;
    }

    public String getPara() {
        return para;
    }

    public void setPara(String para) {
        this.para = para;
    }

    private String id;                  //UUID key
    private String goodid;              //商品id也是网页htmlid
    private String source;              //域名
    private String url;                 //地址
    private String content;             //页面源代码
    private String title;               //商品标题
    private String imgurl;              //商品主题图url
    private Double price;               //价格
    private int comments;               //评论数
    private Double goodRate;            //好评率
    private String para;                //参数json

    @Override
    public String toString() {
        return "Page{" +
                "id='" + id + '\'' +
                ", goodid='" + goodid + '\'' +
                ", source='" + source + '\'' +
                ", url='" + url + '\'' +
                ", title='" + title + '\'' +
                ", imgurl='" + imgurl + '\'' +
                ", price=" + price +
                ", comments=" + comments +
                ", goodRate=" + goodRate +
                ", para='" + para + '\'' +
                '}';
    }
}
